package com.ruoyi.project.drug.mapper;

import com.ruoyi.project.drug.domain.Drug;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DrugMapper {
    List<Drug> selectDrugs(Drug drug);

    int newDrug(Drug drug);

    Drug findDrug(Long drugId);

    int editDrug(Drug drug);

    int dropDrugs(Long[] drugIds);

}
